//
//  Caculator.m
//  RACPrepareProject
//
//  Created by tianchao wu on 2017/7/10.
//  Copyright © 2017年 tianchao wu. All rights reserved.
//

#import "Caculator.h"

@implementation Caculator

-(Caculator *)caculator:(int (^)(int))caculator
{
    self.result = caculator(self.result);
    return self;
}

-(Caculator *)equal:(BOOL (^)(int))operation
{
    self.isEqual = operation(self.result);
    return self;
}

@end
